View Issue Details

IDProjectCategoryView StatusLast Update
0000821T99X171.00 SKB EagleSW Issuepublic2020-09-28 12:14
Reporter(ALTech) SY Yoon Assigned To(SW) Kerwin Chen Due Date2020-03-02 16:35
PrioritynormalSeveritys2-severeReproducibilityhave not tried
Status closedResolutionfixed 
Summary0000821: Audio drop after channel change - Optical connection
DescriptionWe have checked audio with external speaker/soundbar whtich that connected TV via optical cable.
The connection is as follows :
        Our STB connect to TV with HDMI.
        And Sound bar is connected to TV with optical cable.
        And we set audio output option of TV to optical cable.
We have audio drop in certain channel.
I think it may TV issue, but I also check with KAON STB(BKO-AT800) and I couldn't check any audio drop issue.
So please check it.

Test SW version : v17.513.5(AOSP), v15.513.10(ATV)
TV : LG(OLED55B8GNA), Samsung(QN55Q8CNAFXKR)
Speaker : Kaon(BKO-UA500), LG(SK1)
Issue : audio drop in Live TV specific channel for 1 sec. after channel change
Issue reproduction step :
            Step 1 : Boot -> exit Home UI -> Go to channel No. 1 -> Channel Up(CH 2)
            Step 2 : Channel Up(CH 3) & wait for 10 sec. and hear the audio
            Step 3 : Channel Down(CH 2) & wait for 10 sec. and hear the audio
            Step 4 : Go to Step 2.

I captured log and attached it.
Test Sceanrio is
                        11:22 Exit from Home menu. Live TV channel No is 1. I heard no audio twice.
                        11:23 CH UP and check audio. There is no issue in CH No. 2
                        11:24 I've heare no audio after CH UP(CH No. 3)
                        11:25 CH UP and check audio. There is no issue in CH No. 4
                        11:25 CH Down and check audio. There is issue in CH No. 3
                        11:26 CH UP and check audio. There is no issue in CH No. 4
                        11:26 CH Down(Time in log file was 11:26:49) and check audio. There is issue in CH No. 3
                        11:27 CH UP(Time in log file was 11:26:59) and check audio. There is no issue in CH No. 4
So I heard no audio issue 11:26:49 ~ 11:26:59. So if you review the log, then you can check some clue in there.

I also asked to review this issue to Mr. Jingyu Xu of AML. But we don't have any feedback from him.
So could you check the log with Amlogic engineer ?
TagsNo tags attached.
Attach Tags

Relationships

related to 0000800 closed(ALTech) Jason Park [BFX-AT100] During aging test in live channel, Audio is muted 

Users monitoring this issue

User List (ALTech) Jason Park

Activities

(ALTech) SY Yoon

2020-02-26 15:37

developer  

OpticAudioDrop.zip (892,634 bytes)

(SW) Kerwin Chen

2020-02-26 20:18

developer   ~0003399

Hi Mr. YOON,

1. Which mode is set for audio setting on STB? 'BTV' or 'passthrough'..
 
2. Is audio drop issue gone if there is no connection to speakers via optical ?

Thanks !

(ALTech) SY Yoon

2020-02-27 09:05

developer   ~0003401

Hi Kerwin,
I tested both mode again.
In case of Btv mode, it happened almost all TV channels except Home shopping channel.
But in case of Pass-thru mode, it happened only CH #3.

Is there any comment on log file ?

(SW) Kerwin Chen

2020-02-27 10:49

developer   ~0003402

Hi Mr. YOON,

I am not familiar with Player related parts so I am asking help from AML.

>>>In case of Btv mode, it happened almost all TV channels except Home shopping channel.
Could you let us know the channel number of shopping channel ?

BTW, this issue happen only when TV output audio to speaker via optical.
There is no issue if audio is output directly from TV, right ?

Regards,
Kerwin

(ALTech) SY Yoon

2020-02-27 10:51

developer   ~0003403

Hi Kerwin Chen,
You are right. We couldn't find any audio drop with TV.

BR
S YOON

(SW) Kerwin Chen

2020-02-27 11:20

developer   ~0003405

Hi Mr. YOON,

AML needs log with player debug mode enabled.
Please help to enable player log and capture log file.
Thanks !

============== commands =========================
su
setprop media.liveplayer.log-debug 1
setprop media.omx.log_levels 255

(ALTech) SY Yoon

2020-02-27 13:49

developer   ~0003410

Hi Mr. Kerwin Chen,

I tested according to your guide.
1. In case of Btv Mode
    Initial channel No. is 1.
    14:18:42.221 CHANNEL_UP (CH #2)
                            No issue.
    14:19:02.628 CHANNEL_UP (CH #3)
                            No Audio issue happened.
    14:19:21.469 CHANNEL_UP (CH #4)
                            No issue.
    14:19:31.672 CHANNEL_UP (CH #5)
                            No Audio issue happened.

2. In case of Pass-Thru Mode
    14:20:55 Go to CH #1.
    14:21:21.956 CHANNEL_UP (CH #2)
                            No issue.
    14:21:33.758 CHANNEL_UP (CH #3)
                            No Audio issue happened.
    14:22:04.374 CHANNEL_UP (CH #4)
                            No issue.
    14:22:32.222 CHANNEL_UP (CH #5)
                            No Audio issue happened.

If you have any question, please let us know.

BR
S YOON
audioDrop0227.zip (2,767,556 bytes)

(SW) Kerwin Chen

2020-03-02 16:56

developer   ~0003424

Hi Mr. YOON,

Could you help to record a video for this issue ?
AML's RD owner has problem to go to office, he needs it to check possible root cause.
Thanks !

(ALTech) SY Yoon

2020-03-02 18:17

developer   ~0003425

Hi Kerwin,

I attached video clip for this issue.
I change channel from CH 2 to CH 3 at 0:00:10.
And then you can see no audio issue at 0:00:18 ~ 19.
It set audio mode to "Btv".
optic_noAudio.mp4 (14,416,741 bytes)   

(ALTech) Jason Park

2020-03-04 17:05

developer   ~0003438

Last edited: 2020-03-04 17:18

Hi Mr.Yoon

I toss some debugging point for audio issue. from AML PM(Jingyu)
please get those info when dolby channel playback
1. top and check audio server process id --> see an attached picture.
2. debuggerd - b process ID --> execute 3 times and send result

if audio server have two PID, please use PID for android.hardware.audio@2.0-service.

Thanks

(ALTech) Jason Park

2020-03-04 17:11

developer  

top_and_audio server.png (29,823 bytes)   
top_and_audio server.png (29,823 bytes)   

(SW) Kerwin Chen

2020-03-09 14:56

developer   ~0003450

Hi My. Yoon, Jason,

Here is updated status of this issue.
AML've found there is problem in AV sync module which results in audio drop issue.
Since AV sync is very important for user experience, It will need more time to debug.
We hope to have solution in this week.
Thanks !

(SW) Kerwin Chen

2020-03-12 16:46

developer   ~0003462

Dear Mr. Park and Mr. Yoon,

I post Jingyu's mail and related test libraries here.
====== From Jingyu's email ==========
Please try new libraries on this issue.
#mount -o remount,rw /vendor
#mount -o rw,remount /
swap audio.primary.amlogic.so and libliveplaeyr.so on box with attachment.
 
#setprop media.liveplayer.enable-audio-resample 1
channel change test, please feedback if the issue is better or worse. (The issue cannot be solved 100% so far)
also please check if avsync is OK, the issue caused on avsync module, the change could effect avsync performance.
 
PS. Known issue: video will start moving first and audio output. Please ignore it first.

(SW) Kerwin Chen

2020-03-12 17:35

developer  

libliveplayer.so (668,904 bytes)
audio.primary.amlogic.so (293,080 bytes)

(SW) Kerwin Chen

2020-03-13 18:08

developer   ~0003464

Dear Mr. Park and Mr. Yoon,

AML did some change on audio output delay.
Please help to check it.

====== From Jingyu's email ==========
The way is same as before, just don’t forget enable resample property
- Swap new libliveplayer.so
- setprop media.liveplayer.enable-audio-resample 1
libliveplayer_new.so (668,928 bytes)

Issue History

Date Modified Username Field Change
2020-02-26 15:37 (ALTech) SY Yoon New Issue
2020-02-26 15:37 (ALTech) SY Yoon File Added: OpticAudioDrop.zip
2020-02-26 15:38 (ALTech) SY Yoon Assigned To => (SW) Kerwin Chen
2020-02-26 15:38 (ALTech) SY Yoon Status new => assigned
2020-02-26 15:38 (ALTech) SY Yoon Issue Monitored: (ALTech) Jason Park
2020-02-26 20:18 (SW) Kerwin Chen Note Added: 0003399
2020-02-27 09:05 (ALTech) SY Yoon Note Added: 0003401
2020-02-27 10:49 (SW) Kerwin Chen Note Added: 0003402
2020-02-27 10:51 (ALTech) SY Yoon Note Added: 0003403
2020-02-27 11:20 (SW) Kerwin Chen Note Added: 0003405
2020-02-27 13:49 (ALTech) SY Yoon File Added: audioDrop0227.zip
2020-02-27 13:49 (ALTech) SY Yoon Note Added: 0003410
2020-03-02 16:56 (SW) Kerwin Chen Note Added: 0003424
2020-03-02 18:17 (ALTech) SY Yoon File Added: optic_noAudio.mp4
2020-03-02 18:17 (ALTech) SY Yoon Note Added: 0003425
2020-03-04 17:05 (ALTech) Jason Park Note Added: 0003438
2020-03-04 17:11 (ALTech) Jason Park Note Edited: 0003438
2020-03-04 17:11 (ALTech) Jason Park File Added: top_and_audio server.png
2020-03-04 17:18 (ALTech) Jason Park Note Edited: 0003438
2020-03-05 10:20 (ALTech) Jason Park Relationship added related to 0000800
2020-03-09 14:56 (SW) Kerwin Chen Note Added: 0003450
2020-03-12 16:46 (SW) Kerwin Chen Note Added: 0003462
2020-03-12 17:35 (SW) Kerwin Chen File Added: libliveplayer.so
2020-03-12 17:35 (SW) Kerwin Chen File Added: audio.primary.amlogic.so
2020-03-13 18:08 (SW) Kerwin Chen File Added: libliveplayer_new.so
2020-03-13 18:08 (SW) Kerwin Chen Note Added: 0003464
2020-03-26 10:36 (ALTech) Jason Park Status assigned => resolved
2020-03-26 10:36 (ALTech) Jason Park Resolution open => fixed
2020-09-28 12:14 (ALTech) Jason Park Status resolved => closed